﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace WebApplication1.Classes
{
    class Client
    {
        public Client(int id, int passportSerial, string birth, int passportNumber, string name, string surname, string phone, string email)
        {
            this.id = id;

            this.passportSerial = passportSerial;
            this.birth = birth;
            this.passportNumber = passportNumber;
            this.name = name;
            this.surname = surname;
            this.phone = phone;
            this.email = email;
        }
        private int id;
        private int passportSerial;
        private string birth;
        private int passportNumber;
        private string name;
        private string surname;
        private string phone;
        private string email;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

       
        public int PassportSerial
        {
            get { return passportSerial; }
            set { passportSerial = value; }
        }
        public string Birth
        {
            get { return birth; }
            set { birth = value; }
        }
        public int PassportNumber
        {
            get { return passportNumber; }
            set { passportNumber = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Surname
        {
            get { return surname; }
            set { surname = value; }
        }
        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }


    }
}
